package cn.xorange.love.common.exception;


/**
 * @author : yangjian
 * date : 2024/7/15
 * description :
 */
public enum XoErrorCode {

    AUTH_CARD_FAIL(200,10001, "认证不合规","非证件图片进行识别"),
    AUTH_BLOCKED(200,10002, "认证受限,请明天再试","疑似攻击,冻结认证"),
    AUTH_FAIL(200,10010, "认证失败","");




    XoErrorCode(int status, int code, String msg,String remark){
        this.status = status;
        this.code = code;
        this.msg = msg;
        this.remark = remark;
    }

    private int status;
    private int code;
    private String msg;
    private String remark;
    public int getStatus(){ return status; }
    public int getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
    public String getRemark() {
        return remark;
    }
    public void setMsg(String msg){
        this.msg = msg;
    }
}
